package me.zixing.java.test;

/**
 * Created by bingh on 2017/11/1.
 */
public class Excepter implements Computable {
    @Override
    public double compute(int num1, int num2){
        double rest = 0;
        try{
            rest = num1 / num2;
        }catch (Exception e){
            e.printStackTrace();
        }
        return rest;
    }
}
